﻿using NUnit.Framework;
using System.Collections;
using System;

namespace Quiziqal.Specifications
{
    public static class SyntaxHelper
    {
        public static IComparable ShouldBeGreaterThanOrEqualTo(this IComparable arg1, IComparable arg2)
        {
            Assert.GreaterOrEqual(arg1, arg2);
            return arg2;
        }

        public static IComparable ShouldBeLessThanOrEqualTo(this IComparable arg1, IComparable arg2)
        {
            Assert.LessOrEqual(arg1, arg2);
            return arg2;
        }
    }
}
